package com.game.path {
	import flash.geom.Point;

	public class TileUnit extends Object {
		public var pos:Point;
		public var G:int=0;
		public var H:int=0;
		public var F:int=0;
		public var parentTile:TileUnit=null;

		//---------------------------------------------------------
		public function TileUnit(pnt:Point, myG:int, myH:int, myF:int) {
			pos=new Point(pnt.x, pnt.y);
			this.G=myG;
			this.H=myH;
			this.F=myF;
		}
		public function toString():String{
			return pos.toString();
		}
	}
}